﻿using System;

namespace Ayatta.Contract.Domain
{
    /// <summary>
    /// 用户角色
    /// </summary>
    [Flags]
    public enum UserRole : byte
    {
        /// <summary>
        /// None
        /// </summary>
        None = 0,
        /// <summary>
        /// 买家
        /// </summary>
        Buyer = 1,
        /// <summary>
        /// 卖家
        /// </summary>
        Seller = 2,
        /// <summary>
        /// 管理员
        /// </summary>
        Administrator = 4
    }

    /// <summary>
    /// 用户级别
    /// </summary>
    public enum UserLevel : byte
    {
        /// <summary>
        /// None
        /// </summary>
        None = 0,
        /// <summary>
        /// 一级
        /// </summary>
        One = 1,
        /// <summary>
        /// 二级
        /// </summary>
        Two = 2
    }

    /// <summary>
    /// 商家特殊许可
    /// </summary>
    [Flags]
    public enum UserPermission
    {
        /// <summary>
        /// None
        /// </summary>
        None = 0,
        /// <summary>
        /// 竞拍
        /// </summary>
        Auction = 1
    }

    /// <summary>
    /// 用户限制
    /// </summary>
    [Flags]
    public enum UserLimit
    {
        /// <summary>
        /// 无限制
        /// </summary>
        None = 0
    }

    /// <summary>
    /// 用户性别
    /// </summary>
    public enum Gender : byte
    {
        /// <summary>
        /// 保密
        /// </summary>

        Secrect = 0,

        /// <summary>
        /// 男
        /// </summary>
        Male = 1,

        /// <summary>
        /// 女
        /// </summary>
        Female = 2
    }

    /// <summary>
    /// 用户婚姻状况
    /// </summary>
    public enum Marital : byte
    {
        /// <summary>
        /// 保密
        /// </summary>
        Secrect = 0,

        /// <summary>
        /// 单身
        /// </summary>
        Single = 1,

        /// <summary>
        /// 已婚
        /// </summary>
        Married = 2
    }
}